//
//  ImageCompression.h
//  唧歪
//
//  Created by MWJ on 15/8/27.
//  Copyright (c) 2015年 MWJ. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface ImageCompression : NSObject
- (UIImage *)thumbnailWithImageWithoutScale:(UIImage *)image size:(CGSize)asize;
-(UIImage*) OriginImage:(UIImage *)image scaleToSize:(CGSize)size;
@property (nonatomic) UIImage * scaledImage;
@property (nonatomic) UIImage *newimage;
- (UIImage *)imageByScalingToMaxSize:(UIImage *)sourceImage;
@end
